backfire: Generic: Clean up output of AR8216 driver. (backport of r20773)
authorGabor Juhos <[email protected]>
Sat, 10 Apr 2010 11:47:33 +0000 (11:47 +0000)
committerGabor Juhos <[email protected]>
Sat, 10 Apr 2010 11:47:33 +0000 (11:47 +0000)
commit77adc3749fdc40485630650eb0031f71ff5bbb9c
tree8ca2840dc70f9057fab22e57b5fcd2ba07dc53e8
parent273142ef2fc1b32cdd48868a850ddfc5732132e5
backfire: Generic: Clean up output of AR8216 driver. (backport of r20773)

This patch is rather a cosmetic patch. It fixes the following issues:

 * Demote the unknown device message to debug level to not spam
   the log.
 * Fix the version print of the unknown device message.
 * Output the 'attach' message only when attaching as switch driver,
   not when attaching as phy driver.
 * Correctly return NET_RX_DROP when dropping packets.

Signed-off-by: Jonas Gorski <[email protected]>
SVN-Revision: 20774
target/linux/generic-2.6/files/drivers/net/phy/ar8216.c